home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dorgql.z / dorgql
Encoding:
Text File  |  2002-10-03  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDOOOORRRRGGGGQQQQLLLL((((3333SSSS))))                                                          DDDDOOOORRRRGGGGQQQQLLLL((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DORGQL - generate an M-by-N real matrix Q with orthonormal columns,
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE DORGQL( M, N, K, A, LDA, TAU, WORK, LWORK, INFO )
  13.  
  14.          INTEGER        INFO, K, LDA, LWORK, M, N
  15.  
  16.          DOUBLE         PRECISION A( LDA, * ), TAU( * ), WORK( * )
  17.  
  18. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  19.      These routines are part of the SCSL Scientific Library and can be loaded
  20.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  21.      directs the linker to use the multi-processor version of the library.
  22.  
  23.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  24.      4 bytes (32 bits). Another version of SCSL is available in which integers
  25.      are 8 bytes (64 bits).  This version allows the user access to larger
  26.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  27.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  28.      only one of the two versions; 4-byte integer and 8-byte integer library
  29.      calls cannot be mixed.
  30.  
  31. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  32.      DORGQL generates an M-by-N real matrix Q with orthonormal columns, which
  33.      is defined as the last N columns of a product of K elementary reflectors
  34.      of order M
  35.  
  36.            Q  =  H(k) . . . H(2) H(1)
  37.  
  38.      as returned by DGEQLF.
  39.  
  40.  
  41. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  42.      M       (input) INTEGER
  43.              The number of rows of the matrix Q. M >= 0.
  44.  
  45.      N       (input) INTEGER
  46.              The number of columns of the matrix Q. M >= N >= 0.
  47.  
  48.      K       (input) INTEGER
  49.              The number of elementary reflectors whose product defines the
  50.              matrix Q. N >= K >= 0.
  51.  
  52.      A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
  53.              On entry, the (n-k+i)-th column must contain the vector which
  54.              defines the elementary reflector H(i), for i = 1,2,...,k, as
  55.              returned by DGEQLF in the last k columns of its array argument A.
  56.              On exit, the M-by-N matrix Q.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDOOOORRRRGGGGQQQQLLLL((((3333SSSS))))                                                          DDDDOOOORRRRGGGGQQQQLLLL((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDA     (input) INTEGER
  75.              The first dimension of the array A. LDA >= max(1,M).
  76.  
  77.      TAU     (input) DOUBLE PRECISION array, dimension (K)
  78.              TAU(i) must contain the scalar factor of the elementary reflector
  79.              H(i), as returned by DGEQLF.
  80.  
  81.      WORK    (workspace/output) DOUBLE PRECISION array, dimension (LWORK)
  82.              On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
  83.  
  84.      LWORK   (input) INTEGER
  85.              The dimension of the array WORK. LWORK >= max(1,N).  For optimum
  86.              performance LWORK >= N*NB, where NB is the optimal blocksize.
  87.  
  88.              If LWORK = -1, then a workspace query is assumed; the routine
  89.              only calculates the optimal size of the WORK array, returns this
  90.              value as the first entry of the WORK array, and no error message
  91.              related to LWORK is issued by XERBLA.
  92.  
  93.      INFO    (output) INTEGER
  94.              = 0:  successful exit
  95.              < 0:  if INFO = -i, the i-th argument has an illegal value
  96.  
  97. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  98.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  99.  
  100.      This man page is available only online.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.